package canss.webservice.controls;


import org.apache.beehive.controls.api.bean.ControlInterface;

import canss.webservice.model.EventDescription;

import weblogic.jdbc.SQLExceptionWrapper;

@ControlInterface
public interface EventDescriptionControl
{

	Boolean isDuplicatedEventID(Integer _eventid) throws SQLExceptionWrapper;

	EventDescription getEventDescByEventID(Integer _eventid)
			throws SQLExceptionWrapper;

	int addEventDesc(EventDescription _eventdesc) throws SQLExceptionWrapper;

	int removeEventDesc(Integer _eventid) throws SQLExceptionWrapper;

	EventDescription[] getEntireEventDesc() throws SQLExceptionWrapper;

}